{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "import shutil\n",
    "import cv2 as cv\n",
    "import numpy as np\n",
    "import random"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "os.chdir(\"/home/kiprono/Documents/STELLENBOSCH UNIVERISTY/Masters by Research\\\n",
    "/Mask RCNN/Annotation projects/ROBOTICS/train_images (copy)\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "images_list = os.listdir(os.getcwd())\n",
    "images_list;"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1621 1824\n",
      "1 ../resized/0001-0003-1-62-0062.jpg\n",
      "2 ../resized/0002-0003-1-62-0062.jpg\n",
      "3 ../resized/0003-0003-1-62-0062.jpg\n",
      "4 ../resized/0004-0003-1-62-0062.jpg\n",
      "5 ../resized/0005-0003-1-62-0062.jpg\n",
      "6 ../resized/0006-0003-1-62-0062.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0005-11645-126-177.jpg\n",
      "2 ../resized/0002-0005-11645-126-177.jpg\n",
      "3 ../resized/0003-0005-11645-126-177.jpg\n",
      "4 ../resized/0004-0005-11645-126-177.jpg\n",
      "5 ../resized/0005-0005-11645-126-177.jpg\n",
      "6 ../resized/0006-0005-11645-126-177.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0005-11646-140-81.jpg\n",
      "2 ../resized/0002-0005-11646-140-81.jpg\n",
      "3 ../resized/0003-0005-11646-140-81.jpg\n",
      "4 ../resized/0004-0005-11646-140-81.jpg\n",
      "5 ../resized/0005-0005-11646-140-81.jpg\n",
      "6 ../resized/0006-0005-11646-140-81.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0003-11447-75-92.jpg\n",
      "1 ../resized/0001-0003-11447-75-92.jpg\n",
      "../resized/0002-0003-11447-75-92.jpg\n",
      "2 ../resized/0002-0003-11447-75-92.jpg\n",
      "../resized/0003-0003-11447-75-92.jpg\n",
      "3 ../resized/0003-0003-11447-75-92.jpg\n",
      "../resized/0004-0003-11447-75-92.jpg\n",
      "4 ../resized/0004-0003-11447-75-92.jpg\n",
      "../resized/0005-0003-11447-75-92.jpg\n",
      "5 ../resized/0005-0003-11447-75-92.jpg\n",
      "../resized/0006-0003-11447-75-92.jpg\n",
      "6 ../resized/0006-0003-11447-75-92.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0002-12382-467-143.jpg\n",
      "2 ../resized/0002-0002-12382-467-143.jpg\n",
      "3 ../resized/0003-0002-12382-467-143.jpg\n",
      "4 ../resized/0004-0002-12382-467-143.jpg\n",
      "5 ../resized/0005-0002-12382-467-143.jpg\n",
      "6 ../resized/0006-0002-12382-467-143.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0006-12014-254-327.jpg\n",
      "2 ../resized/0002-0006-12014-254-327.jpg\n",
      "3 ../resized/0003-0006-12014-254-327.jpg\n",
      "4 ../resized/0004-0006-12014-254-327.jpg\n",
      "5 ../resized/0005-0006-12014-254-327.jpg\n",
      "6 ../resized/0006-0006-12014-254-327.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0003-12011-232-242.jpg\n",
      "2 ../resized/0002-0003-12011-232-242.jpg\n",
      "3 ../resized/0003-0003-12011-232-242.jpg\n",
      "4 ../resized/0004-0003-12011-232-242.jpg\n",
      "5 ../resized/0005-0003-12011-232-242.jpg\n",
      "6 ../resized/0006-0003-12011-232-242.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0004-11645-117-69.jpg\n",
      "2 ../resized/0002-0004-11645-117-69.jpg\n",
      "3 ../resized/0003-0004-11645-117-69.jpg\n",
      "4 ../resized/0004-0004-11645-117-69.jpg\n",
      "5 ../resized/0005-0004-11645-117-69.jpg\n",
      "6 ../resized/0006-0004-11645-117-69.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0003-11447-75-147.jpg\n",
      "1 ../resized/0001-0003-11447-75-147.jpg\n",
      "../resized/0002-0003-11447-75-147.jpg\n",
      "2 ../resized/0002-0003-11447-75-147.jpg\n",
      "../resized/0003-0003-11447-75-147.jpg\n",
      "3 ../resized/0003-0003-11447-75-147.jpg\n",
      "../resized/0004-0003-11447-75-147.jpg\n",
      "4 ../resized/0004-0003-11447-75-147.jpg\n",
      "../resized/0005-0003-11447-75-147.jpg\n",
      "5 ../resized/0005-0003-11447-75-147.jpg\n",
      "../resized/0006-0003-11447-75-147.jpg\n",
      "6 ../resized/0006-0003-11447-75-147.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0001-11647-166-51.jpg\n",
      "2 ../resized/0002-0001-11647-166-51.jpg\n",
      "3 ../resized/0003-0001-11647-166-51.jpg\n",
      "4 ../resized/0004-0001-11647-166-51.jpg\n",
      "5 ../resized/0005-0001-11647-166-51.jpg\n",
      "6 ../resized/0006-0001-11647-166-51.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0004-12403-533-77.jpg\n",
      "2 ../resized/0002-0004-12403-533-77.jpg\n",
      "3 ../resized/0003-0004-12403-533-77.jpg\n",
      "4 ../resized/0004-0004-12403-533-77.jpg\n",
      "5 ../resized/0005-0004-12403-533-77.jpg\n",
      "6 ../resized/0006-0004-12403-533-77.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11645-134-120.jpg\n",
      "2 ../resized/0002-0002-11645-134-120.jpg\n",
      "3 ../resized/0003-0002-11645-134-120.jpg\n",
      "4 ../resized/0004-0002-11645-134-120.jpg\n",
      "5 ../resized/0005-0002-11645-134-120.jpg\n",
      "6 ../resized/0006-0002-11645-134-120.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0005-1-92-0092.jpg\n",
      "2 ../resized/0002-0005-1-92-0092.jpg\n",
      "3 ../resized/0003-0005-1-92-0092.jpg\n",
      "4 ../resized/0004-0005-1-92-0092.jpg\n",
      "5 ../resized/0005-0005-1-92-0092.jpg\n",
      "6 ../resized/0006-0005-1-92-0092.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0002-12403-533-77.jpg\n",
      "2 ../resized/0002-0002-12403-533-77.jpg\n",
      "3 ../resized/0003-0002-12403-533-77.jpg\n",
      "4 ../resized/0004-0002-12403-533-77.jpg\n",
      "5 ../resized/0005-0002-12403-533-77.jpg\n",
      "6 ../resized/0006-0002-12403-533-77.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0001-11646-138-34.jpg\n",
      "2 ../resized/0002-0001-11646-138-34.jpg\n",
      "3 ../resized/0003-0001-11646-138-34.jpg\n",
      "4 ../resized/0004-0001-11646-138-34.jpg\n",
      "5 ../resized/0005-0001-11646-138-34.jpg\n",
      "6 ../resized/0006-0001-11646-138-34.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0001-1-169-0169.jpg\n",
      "2 ../resized/0002-0001-1-169-0169.jpg\n",
      "3 ../resized/0003-0001-1-169-0169.jpg\n",
      "4 ../resized/0004-0001-1-169-0169.jpg\n",
      "5 ../resized/0005-0001-1-169-0169.jpg\n",
      "6 ../resized/0006-0001-1-169-0169.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0005-12384-483-145.jpg\n",
      "2 ../resized/0002-0005-12384-483-145.jpg\n",
      "3 ../resized/0003-0005-12384-483-145.jpg\n",
      "4 ../resized/0004-0005-12384-483-145.jpg\n",
      "5 ../resized/0005-0005-12384-483-145.jpg\n",
      "6 ../resized/0006-0005-12384-483-145.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-1-128-0128.jpg\n",
      "2 ../resized/0002-0002-1-128-0128.jpg\n",
      "3 ../resized/0003-0002-1-128-0128.jpg\n",
      "4 ../resized/0004-0002-1-128-0128.jpg\n",
      "5 ../resized/0005-0002-1-128-0128.jpg\n",
      "6 ../resized/0006-0002-1-128-0128.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0003-2-55-0055.jpg\n",
      "2 ../resized/0002-0003-2-55-0055.jpg\n",
      "3 ../resized/0003-0003-2-55-0055.jpg\n",
      "4 ../resized/0004-0003-2-55-0055.jpg\n",
      "5 ../resized/0005-0003-2-55-0055.jpg\n",
      "6 ../resized/0006-0003-2-55-0055.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0001-11447-81-188.jpg\n",
      "1 ../resized/0001-0001-11447-81-188.jpg\n",
      "../resized/0002-0001-11447-81-188.jpg\n",
      "2 ../resized/0002-0001-11447-81-188.jpg\n",
      "../resized/0003-0001-11447-81-188.jpg\n",
      "3 ../resized/0003-0001-11447-81-188.jpg\n",
      "../resized/0004-0001-11447-81-188.jpg\n",
      "4 ../resized/0004-0001-11447-81-188.jpg\n",
      "../resized/0005-0001-11447-81-188.jpg\n",
      "5 ../resized/0005-0001-11447-81-188.jpg\n",
      "../resized/0006-0001-11447-81-188.jpg\n",
      "6 ../resized/0006-0001-11447-81-188.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0001-1-49-0049.jpg\n",
      "2 ../resized/0002-0001-1-49-0049.jpg\n",
      "3 ../resized/0003-0001-1-49-0049.jpg\n",
      "4 ../resized/0004-0001-1-49-0049.jpg\n",
      "5 ../resized/0005-0001-1-49-0049.jpg\n",
      "6 ../resized/0006-0001-1-49-0049.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0006-12013-252-304.jpg\n",
      "2 ../resized/0002-0006-12013-252-304.jpg\n",
      "3 ../resized/0003-0006-12013-252-304.jpg\n",
      "4 ../resized/0004-0006-12013-252-304.jpg\n",
      "5 ../resized/0005-0006-12013-252-304.jpg\n",
      "6 ../resized/0006-0006-12013-252-304.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0006-1-49-0049.jpg\n",
      "2 ../resized/0002-0006-1-49-0049.jpg\n",
      "3 ../resized/0003-0006-1-49-0049.jpg\n",
      "4 ../resized/0004-0006-1-49-0049.jpg\n",
      "5 ../resized/0005-0006-1-49-0049.jpg\n",
      "6 ../resized/0006-0006-1-49-0049.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11646-138-34.jpg\n",
      "2 ../resized/0002-0002-11646-138-34.jpg\n",
      "3 ../resized/0003-0002-11646-138-34.jpg\n",
      "4 ../resized/0004-0002-11646-138-34.jpg\n",
      "5 ../resized/0005-0002-11646-138-34.jpg\n",
      "6 ../resized/0006-0002-11646-138-34.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0006-11447-81-188.jpg\n",
      "1 ../resized/0001-0006-11447-81-188.jpg\n",
      "../resized/0002-0006-11447-81-188.jpg\n",
      "2 ../resized/0002-0006-11447-81-188.jpg\n",
      "../resized/0003-0006-11447-81-188.jpg\n",
      "3 ../resized/0003-0006-11447-81-188.jpg\n",
      "../resized/0004-0006-11447-81-188.jpg\n",
      "4 ../resized/0004-0006-11447-81-188.jpg\n",
      "../resized/0005-0006-11447-81-188.jpg\n",
      "5 ../resized/0005-0006-11447-81-188.jpg\n",
      "../resized/0006-0006-11447-81-188.jpg\n",
      "6 ../resized/0006-0006-11447-81-188.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0005-12013-252-304.jpg\n",
      "2 ../resized/0002-0005-12013-252-304.jpg\n",
      "3 ../resized/0003-0005-12013-252-304.jpg\n",
      "4 ../resized/0004-0005-12013-252-304.jpg\n",
      "5 ../resized/0005-0005-12013-252-304.jpg\n",
      "6 ../resized/0006-0005-12013-252-304.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11645-130-56.jpg\n",
      "2 ../resized/0002-0006-11645-130-56.jpg\n",
      "3 ../resized/0003-0006-11645-130-56.jpg\n",
      "4 ../resized/0004-0006-11645-130-56.jpg\n",
      "5 ../resized/0005-0006-11645-130-56.jpg\n",
      "6 ../resized/0006-0006-11645-130-56.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0006-2-69-0069.jpg\n",
      "2 ../resized/0002-0006-2-69-0069.jpg\n",
      "3 ../resized/0003-0006-2-69-0069.jpg\n",
      "4 ../resized/0004-0006-2-69-0069.jpg\n",
      "5 ../resized/0005-0006-2-69-0069.jpg\n",
      "6 ../resized/0006-0006-2-69-0069.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0003-11446-49-112.jpg\n",
      "1 ../resized/0001-0003-11446-49-112.jpg\n",
      "../resized/0002-0003-11446-49-112.jpg\n",
      "2 ../resized/0002-0003-11446-49-112.jpg\n",
      "../resized/0003-0003-11446-49-112.jpg\n",
      "3 ../resized/0003-0003-11446-49-112.jpg\n",
      "../resized/0004-0003-11446-49-112.jpg\n",
      "4 ../resized/0004-0003-11446-49-112.jpg\n",
      "../resized/0005-0003-11446-49-112.jpg\n",
      "5 ../resized/0005-0003-11446-49-112.jpg\n",
      "../resized/0006-0003-11446-49-112.jpg\n",
      "6 ../resized/0006-0003-11446-49-112.jpg\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1080 1366\n",
      "1 ../resized/0001-0003-11647-156-201.jpg\n",
      "2 ../resized/0002-0003-11647-156-201.jpg\n",
      "3 ../resized/0003-0003-11647-156-201.jpg\n",
      "4 ../resized/0004-0003-11647-156-201.jpg\n",
      "5 ../resized/0005-0003-11647-156-201.jpg\n",
      "6 ../resized/0006-0003-11647-156-201.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0001-11446-49-112.jpg\n",
      "1 ../resized/0001-0001-11446-49-112.jpg\n",
      "../resized/0002-0001-11446-49-112.jpg\n",
      "2 ../resized/0002-0001-11446-49-112.jpg\n",
      "../resized/0003-0001-11446-49-112.jpg\n",
      "3 ../resized/0003-0001-11446-49-112.jpg\n",
      "../resized/0004-0001-11446-49-112.jpg\n",
      "4 ../resized/0004-0001-11446-49-112.jpg\n",
      "../resized/0005-0001-11446-49-112.jpg\n",
      "5 ../resized/0005-0001-11446-49-112.jpg\n",
      "../resized/0006-0001-11446-49-112.jpg\n",
      "6 ../resized/0006-0001-11446-49-112.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-2-55-0055.jpg\n",
      "2 ../resized/0002-0004-2-55-0055.jpg\n",
      "3 ../resized/0003-0004-2-55-0055.jpg\n",
      "4 ../resized/0004-0004-2-55-0055.jpg\n",
      "5 ../resized/0005-0004-2-55-0055.jpg\n",
      "6 ../resized/0006-0004-2-55-0055.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0005-1-187-0187.jpg\n",
      "2 ../resized/0002-0005-1-187-0187.jpg\n",
      "3 ../resized/0003-0005-1-187-0187.jpg\n",
      "4 ../resized/0004-0005-1-187-0187.jpg\n",
      "5 ../resized/0005-0005-1-187-0187.jpg\n",
      "6 ../resized/0006-0005-1-187-0187.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0005-12014-254-327.jpg\n",
      "2 ../resized/0002-0005-12014-254-327.jpg\n",
      "3 ../resized/0003-0005-12014-254-327.jpg\n",
      "4 ../resized/0004-0005-12014-254-327.jpg\n",
      "5 ../resized/0005-0005-12014-254-327.jpg\n",
      "6 ../resized/0006-0005-12014-254-327.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-2-82-0082.jpg\n",
      "2 ../resized/0002-0004-2-82-0082.jpg\n",
      "3 ../resized/0003-0004-2-82-0082.jpg\n",
      "4 ../resized/0004-0004-2-82-0082.jpg\n",
      "5 ../resized/0005-0004-2-82-0082.jpg\n",
      "6 ../resized/0006-0004-2-82-0082.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0003-12013-251-409.jpg\n",
      "2 ../resized/0002-0003-12013-251-409.jpg\n",
      "3 ../resized/0003-0003-12013-251-409.jpg\n",
      "4 ../resized/0004-0003-12013-251-409.jpg\n",
      "5 ../resized/0005-0003-12013-251-409.jpg\n",
      "6 ../resized/0006-0003-12013-251-409.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11645-126-133.jpg\n",
      "2 ../resized/0002-0002-11645-126-133.jpg\n",
      "3 ../resized/0003-0002-11645-126-133.jpg\n",
      "4 ../resized/0004-0002-11645-126-133.jpg\n",
      "5 ../resized/0005-0002-11645-126-133.jpg\n",
      "6 ../resized/0006-0002-11645-126-133.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0005-12403-533-77.jpg\n",
      "2 ../resized/0002-0005-12403-533-77.jpg\n",
      "3 ../resized/0003-0005-12403-533-77.jpg\n",
      "4 ../resized/0004-0005-12403-533-77.jpg\n",
      "5 ../resized/0005-0005-12403-533-77.jpg\n",
      "6 ../resized/0006-0005-12403-533-77.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0004-11444-28-95.jpg\n",
      "1 ../resized/0001-0004-11444-28-95.jpg\n",
      "../resized/0002-0004-11444-28-95.jpg\n",
      "2 ../resized/0002-0004-11444-28-95.jpg\n",
      "../resized/0003-0004-11444-28-95.jpg\n",
      "3 ../resized/0003-0004-11444-28-95.jpg\n",
      "../resized/0004-0004-11444-28-95.jpg\n",
      "4 ../resized/0004-0004-11444-28-95.jpg\n",
      "../resized/0005-0004-11444-28-95.jpg\n",
      "5 ../resized/0005-0004-11444-28-95.jpg\n",
      "../resized/0006-0004-11444-28-95.jpg\n",
      "6 ../resized/0006-0004-11444-28-95.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0005-1-49-0049.jpg\n",
      "2 ../resized/0002-0005-1-49-0049.jpg\n",
      "3 ../resized/0003-0005-1-49-0049.jpg\n",
      "4 ../resized/0004-0005-1-49-0049.jpg\n",
      "5 ../resized/0005-0005-1-49-0049.jpg\n",
      "6 ../resized/0006-0005-1-49-0049.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0005-11446-44-84.jpg\n",
      "1 ../resized/0001-0005-11446-44-84.jpg\n",
      "../resized/0002-0005-11446-44-84.jpg\n",
      "2 ../resized/0002-0005-11446-44-84.jpg\n",
      "../resized/0003-0005-11446-44-84.jpg\n",
      "3 ../resized/0003-0005-11446-44-84.jpg\n",
      "../resized/0004-0005-11446-44-84.jpg\n",
      "4 ../resized/0004-0005-11446-44-84.jpg\n",
      "../resized/0005-0005-11446-44-84.jpg\n",
      "5 ../resized/0005-0005-11446-44-84.jpg\n",
      "../resized/0006-0005-11446-44-84.jpg\n",
      "6 ../resized/0006-0005-11446-44-84.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0005-11447-75-147.jpg\n",
      "1 ../resized/0001-0005-11447-75-147.jpg\n",
      "../resized/0002-0005-11447-75-147.jpg\n",
      "2 ../resized/0002-0005-11447-75-147.jpg\n",
      "../resized/0003-0005-11447-75-147.jpg\n",
      "3 ../resized/0003-0005-11447-75-147.jpg\n",
      "../resized/0004-0005-11447-75-147.jpg\n",
      "4 ../resized/0004-0005-11447-75-147.jpg\n",
      "../resized/0005-0005-11447-75-147.jpg\n",
      "5 ../resized/0005-0005-11447-75-147.jpg\n",
      "../resized/0006-0005-11447-75-147.jpg\n",
      "6 ../resized/0006-0005-11447-75-147.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0006-12014-253-337.jpg\n",
      "2 ../resized/0002-0006-12014-253-337.jpg\n",
      "3 ../resized/0003-0006-12014-253-337.jpg\n",
      "4 ../resized/0004-0006-12014-253-337.jpg\n",
      "5 ../resized/0005-0006-12014-253-337.jpg\n",
      "6 ../resized/0006-0006-12014-253-337.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0002-11447-75-92.jpg\n",
      "1 ../resized/0001-0002-11447-75-92.jpg\n",
      "../resized/0002-0002-11447-75-92.jpg\n",
      "2 ../resized/0002-0002-11447-75-92.jpg\n",
      "../resized/0003-0002-11447-75-92.jpg\n",
      "3 ../resized/0003-0002-11447-75-92.jpg\n",
      "../resized/0004-0002-11447-75-92.jpg\n",
      "4 ../resized/0004-0002-11447-75-92.jpg\n",
      "../resized/0005-0002-11447-75-92.jpg\n",
      "5 ../resized/0005-0002-11447-75-92.jpg\n",
      "../resized/0006-0002-11447-75-92.jpg\n",
      "6 ../resized/0006-0002-11447-75-92.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11645-117-69.jpg\n",
      "2 ../resized/0002-0006-11645-117-69.jpg\n",
      "3 ../resized/0003-0006-11645-117-69.jpg\n",
      "4 ../resized/0004-0006-11645-117-69.jpg\n",
      "5 ../resized/0005-0006-11645-117-69.jpg\n",
      "6 ../resized/0006-0006-11645-117-69.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11645-126-177.jpg\n",
      "2 ../resized/0002-0002-11645-126-177.jpg\n",
      "3 ../resized/0003-0002-11645-126-177.jpg\n",
      "4 ../resized/0004-0002-11645-126-177.jpg\n",
      "5 ../resized/0005-0002-11645-126-177.jpg\n",
      "6 ../resized/0006-0002-11645-126-177.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0004-12013-251-409.jpg\n",
      "2 ../resized/0002-0004-12013-251-409.jpg\n",
      "3 ../resized/0003-0004-12013-251-409.jpg\n",
      "4 ../resized/0004-0004-12013-251-409.jpg\n",
      "5 ../resized/0005-0004-12013-251-409.jpg\n",
      "6 ../resized/0006-0004-12013-251-409.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-1-25-0025.jpg\n",
      "2 ../resized/0002-0004-1-25-0025.jpg\n",
      "3 ../resized/0003-0004-1-25-0025.jpg\n",
      "4 ../resized/0004-0004-1-25-0025.jpg\n",
      "5 ../resized/0005-0004-1-25-0025.jpg\n",
      "6 ../resized/0006-0004-1-25-0025.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11646-140-81.jpg\n",
      "2 ../resized/0002-0006-11646-140-81.jpg\n",
      "3 ../resized/0003-0006-11646-140-81.jpg\n",
      "4 ../resized/0004-0006-11646-140-81.jpg\n",
      "5 ../resized/0005-0006-11646-140-81.jpg\n",
      "6 ../resized/0006-0006-11646-140-81.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-1-49-0049.jpg\n",
      "2 ../resized/0002-0004-1-49-0049.jpg\n",
      "3 ../resized/0003-0004-1-49-0049.jpg\n",
      "4 ../resized/0004-0004-1-49-0049.jpg\n",
      "5 ../resized/0005-0004-1-49-0049.jpg\n",
      "6 ../resized/0006-0004-1-49-0049.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0005-1-62-0062.jpg\n",
      "2 ../resized/0002-0005-1-62-0062.jpg\n",
      "3 ../resized/0003-0005-1-62-0062.jpg\n",
      "4 ../resized/0004-0005-1-62-0062.jpg\n",
      "5 ../resized/0005-0005-1-62-0062.jpg\n",
      "6 ../resized/0006-0005-1-62-0062.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0001-1-119-0119.jpg\n",
      "2 ../resized/0002-0001-1-119-0119.jpg\n",
      "3 ../resized/0003-0001-1-119-0119.jpg\n",
      "4 ../resized/0004-0001-1-119-0119.jpg\n",
      "5 ../resized/0005-0001-1-119-0119.jpg\n",
      "6 ../resized/0006-0001-1-119-0119.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0004-11645-133-90.jpg\n",
      "2 ../resized/0002-0004-11645-133-90.jpg\n",
      "3 ../resized/0003-0004-11645-133-90.jpg\n",
      "4 ../resized/0004-0004-11645-133-90.jpg\n",
      "5 ../resized/0005-0004-11645-133-90.jpg\n",
      "6 ../resized/0006-0004-11645-133-90.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0004-12382-467-143.jpg\n",
      "2 ../resized/0002-0004-12382-467-143.jpg\n",
      "3 ../resized/0003-0004-12382-467-143.jpg\n",
      "4 ../resized/0004-0004-12382-467-143.jpg\n",
      "5 ../resized/0005-0004-12382-467-143.jpg\n",
      "6 ../resized/0006-0004-12382-467-143.jpg\n",
      "1824 1539\n",
      "[(0, 608), (608, 1216), (1216, 1824)] [(0, 769), (769, 1539)]\n",
      "../resized/0001-0005-2-95-0095.jpg\n",
      "1 ../resized/0001-0005-2-95-0095.jpg\n",
      "../resized/0002-0005-2-95-0095.jpg\n",
      "2 ../resized/0002-0005-2-95-0095.jpg\n",
      "../resized/0003-0005-2-95-0095.jpg\n",
      "3 ../resized/0003-0005-2-95-0095.jpg\n",
      "../resized/0004-0005-2-95-0095.jpg\n",
      "4 ../resized/0004-0005-2-95-0095.jpg\n",
      "../resized/0005-0005-2-95-0095.jpg\n",
      "5 ../resized/0005-0005-2-95-0095.jpg\n",
      "../resized/0006-0005-2-95-0095.jpg\n",
      "6 ../resized/0006-0005-2-95-0095.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0003-12402-532-81.jpg\n",
      "2 ../resized/0002-0003-12402-532-81.jpg\n",
      "3 ../resized/0003-0003-12402-532-81.jpg\n",
      "4 ../resized/0004-0003-12402-532-81.jpg\n",
      "5 ../resized/0005-0003-12402-532-81.jpg\n",
      "6 ../resized/0006-0003-12402-532-81.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0003-11646-140-81.jpg\n",
      "2 ../resized/0002-0003-11646-140-81.jpg\n",
      "3 ../resized/0003-0003-11646-140-81.jpg\n",
      "4 ../resized/0004-0003-11646-140-81.jpg\n",
      "5 ../resized/0005-0003-11646-140-81.jpg\n",
      "6 ../resized/0006-0003-11646-140-81.jpg\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1080 1280\n",
      "1 ../resized/0001-0004-12409-544-102.jpg\n",
      "2 ../resized/0002-0004-12409-544-102.jpg\n",
      "3 ../resized/0003-0004-12409-544-102.jpg\n",
      "4 ../resized/0004-0004-12409-544-102.jpg\n",
      "5 ../resized/0005-0004-12409-544-102.jpg\n",
      "6 ../resized/0006-0004-12409-544-102.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0005-11446-46-112.jpg\n",
      "1 ../resized/0001-0005-11446-46-112.jpg\n",
      "../resized/0002-0005-11446-46-112.jpg\n",
      "2 ../resized/0002-0005-11446-46-112.jpg\n",
      "../resized/0003-0005-11446-46-112.jpg\n",
      "3 ../resized/0003-0005-11446-46-112.jpg\n",
      "../resized/0004-0005-11446-46-112.jpg\n",
      "4 ../resized/0004-0005-11446-46-112.jpg\n",
      "../resized/0005-0005-11446-46-112.jpg\n",
      "5 ../resized/0005-0005-11446-46-112.jpg\n",
      "../resized/0006-0005-11446-46-112.jpg\n",
      "6 ../resized/0006-0005-11446-46-112.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-2-82-0082.jpg\n",
      "2 ../resized/0002-0002-2-82-0082.jpg\n",
      "3 ../resized/0003-0002-2-82-0082.jpg\n",
      "4 ../resized/0004-0002-2-82-0082.jpg\n",
      "5 ../resized/0005-0002-2-82-0082.jpg\n",
      "6 ../resized/0006-0002-2-82-0082.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0002-12402-531-78.jpg\n",
      "2 ../resized/0002-0002-12402-531-78.jpg\n",
      "3 ../resized/0003-0002-12402-531-78.jpg\n",
      "4 ../resized/0004-0002-12402-531-78.jpg\n",
      "5 ../resized/0005-0002-12402-531-78.jpg\n",
      "6 ../resized/0006-0002-12402-531-78.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0002-12014-254-327.jpg\n",
      "2 ../resized/0002-0002-12014-254-327.jpg\n",
      "3 ../resized/0003-0002-12014-254-327.jpg\n",
      "4 ../resized/0004-0002-12014-254-327.jpg\n",
      "5 ../resized/0005-0002-12014-254-327.jpg\n",
      "6 ../resized/0006-0002-12014-254-327.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0004-12014-272-396.jpg\n",
      "2 ../resized/0002-0004-12014-272-396.jpg\n",
      "3 ../resized/0003-0004-12014-272-396.jpg\n",
      "4 ../resized/0004-0004-12014-272-396.jpg\n",
      "5 ../resized/0005-0004-12014-272-396.jpg\n",
      "6 ../resized/0006-0004-12014-272-396.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0005-11645-130-56.jpg\n",
      "2 ../resized/0002-0005-11645-130-56.jpg\n",
      "3 ../resized/0003-0005-11645-130-56.jpg\n",
      "4 ../resized/0004-0005-11645-130-56.jpg\n",
      "5 ../resized/0005-0005-11645-130-56.jpg\n",
      "6 ../resized/0006-0005-11645-130-56.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-1-92-0092.jpg\n",
      "2 ../resized/0002-0004-1-92-0092.jpg\n",
      "3 ../resized/0003-0004-1-92-0092.jpg\n",
      "4 ../resized/0004-0004-1-92-0092.jpg\n",
      "5 ../resized/0005-0004-1-92-0092.jpg\n",
      "6 ../resized/0006-0004-1-92-0092.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0006-1-118-0118.jpg\n",
      "2 ../resized/0002-0006-1-118-0118.jpg\n",
      "3 ../resized/0003-0006-1-118-0118.jpg\n",
      "4 ../resized/0004-0006-1-118-0118.jpg\n",
      "5 ../resized/0005-0006-1-118-0118.jpg\n",
      "6 ../resized/0006-0006-1-118-0118.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0003-1-128-0128.jpg\n",
      "2 ../resized/0002-0003-1-128-0128.jpg\n",
      "3 ../resized/0003-0003-1-128-0128.jpg\n",
      "4 ../resized/0004-0003-1-128-0128.jpg\n",
      "5 ../resized/0005-0003-1-128-0128.jpg\n",
      "6 ../resized/0006-0003-1-128-0128.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0005-11446-49-112.jpg\n",
      "1 ../resized/0001-0005-11446-49-112.jpg\n",
      "../resized/0002-0005-11446-49-112.jpg\n",
      "2 ../resized/0002-0005-11446-49-112.jpg\n",
      "../resized/0003-0005-11446-49-112.jpg\n",
      "3 ../resized/0003-0005-11446-49-112.jpg\n",
      "../resized/0004-0005-11446-49-112.jpg\n",
      "4 ../resized/0004-0005-11446-49-112.jpg\n",
      "../resized/0005-0005-11446-49-112.jpg\n",
      "5 ../resized/0005-0005-11446-49-112.jpg\n",
      "../resized/0006-0005-11446-49-112.jpg\n",
      "6 ../resized/0006-0005-11446-49-112.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0001-11447-75-147.jpg\n",
      "1 ../resized/0001-0001-11447-75-147.jpg\n",
      "../resized/0002-0001-11447-75-147.jpg\n",
      "2 ../resized/0002-0001-11447-75-147.jpg\n",
      "../resized/0003-0001-11447-75-147.jpg\n",
      "3 ../resized/0003-0001-11447-75-147.jpg\n",
      "../resized/0004-0001-11447-75-147.jpg\n",
      "4 ../resized/0004-0001-11447-75-147.jpg\n",
      "../resized/0005-0001-11447-75-147.jpg\n",
      "5 ../resized/0005-0001-11447-75-147.jpg\n",
      "../resized/0006-0001-11447-75-147.jpg\n",
      "6 ../resized/0006-0001-11447-75-147.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0003-1-92-0092.jpg\n",
      "2 ../resized/0002-0003-1-92-0092.jpg\n",
      "3 ../resized/0003-0003-1-92-0092.jpg\n",
      "4 ../resized/0004-0003-1-92-0092.jpg\n",
      "5 ../resized/0005-0003-1-92-0092.jpg\n",
      "6 ../resized/0006-0003-1-92-0092.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11645-126-133.jpg\n",
      "2 ../resized/0002-0006-11645-126-133.jpg\n",
      "3 ../resized/0003-0006-11645-126-133.jpg\n",
      "4 ../resized/0004-0006-11645-126-133.jpg\n",
      "5 ../resized/0005-0006-11645-126-133.jpg\n",
      "6 ../resized/0006-0006-11645-126-133.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11645-134-120.jpg\n",
      "2 ../resized/0002-0006-11645-134-120.jpg\n",
      "3 ../resized/0003-0006-11645-134-120.jpg\n",
      "4 ../resized/0004-0006-11645-134-120.jpg\n",
      "5 ../resized/0005-0006-11645-134-120.jpg\n",
      "6 ../resized/0006-0006-11645-134-120.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0006-11446-44-84.jpg\n",
      "1 ../resized/0001-0006-11446-44-84.jpg\n",
      "../resized/0002-0006-11446-44-84.jpg\n",
      "2 ../resized/0002-0006-11446-44-84.jpg\n",
      "../resized/0003-0006-11446-44-84.jpg\n",
      "3 ../resized/0003-0006-11446-44-84.jpg\n",
      "../resized/0004-0006-11446-44-84.jpg\n",
      "4 ../resized/0004-0006-11446-44-84.jpg\n",
      "../resized/0005-0006-11446-44-84.jpg\n",
      "5 ../resized/0005-0006-11446-44-84.jpg\n",
      "../resized/0006-0006-11446-44-84.jpg\n",
      "6 ../resized/0006-0006-11446-44-84.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0002-12013-251-409.jpg\n",
      "2 ../resized/0002-0002-12013-251-409.jpg\n",
      "3 ../resized/0003-0002-12013-251-409.jpg\n",
      "4 ../resized/0004-0002-12013-251-409.jpg\n",
      "5 ../resized/0005-0002-12013-251-409.jpg\n",
      "6 ../resized/0006-0002-12013-251-409.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11645-130-56.jpg\n",
      "2 ../resized/0002-0002-11645-130-56.jpg\n",
      "3 ../resized/0003-0002-11645-130-56.jpg\n",
      "4 ../resized/0004-0002-11645-130-56.jpg\n",
      "5 ../resized/0005-0002-11645-130-56.jpg\n",
      "6 ../resized/0006-0002-11645-130-56.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11647-166-51.jpg\n",
      "2 ../resized/0002-0006-11647-166-51.jpg\n",
      "3 ../resized/0003-0006-11647-166-51.jpg\n",
      "4 ../resized/0004-0006-11647-166-51.jpg\n",
      "5 ../resized/0005-0006-11647-166-51.jpg\n",
      "6 ../resized/0006-0006-11647-166-51.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0004-12014-254-327.jpg\n",
      "2 ../resized/0002-0004-12014-254-327.jpg\n",
      "3 ../resized/0003-0004-12014-254-327.jpg\n",
      "4 ../resized/0004-0004-12014-254-327.jpg\n",
      "5 ../resized/0005-0004-12014-254-327.jpg\n",
      "6 ../resized/0006-0004-12014-254-327.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0003-11645-126-177.jpg\n",
      "2 ../resized/0002-0003-11645-126-177.jpg\n",
      "3 ../resized/0003-0003-11645-126-177.jpg\n",
      "4 ../resized/0004-0003-11645-126-177.jpg\n",
      "5 ../resized/0005-0003-11645-126-177.jpg\n",
      "6 ../resized/0006-0003-11645-126-177.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0005-12402-532-81.jpg\n",
      "2 ../resized/0002-0005-12402-532-81.jpg\n",
      "3 ../resized/0003-0005-12402-532-81.jpg\n",
      "4 ../resized/0004-0005-12402-532-81.jpg\n",
      "5 ../resized/0005-0005-12402-532-81.jpg\n",
      "6 ../resized/0006-0005-12402-532-81.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0006-12013-251-409.jpg\n",
      "2 ../resized/0002-0006-12013-251-409.jpg\n",
      "3 ../resized/0003-0006-12013-251-409.jpg\n",
      "4 ../resized/0004-0006-12013-251-409.jpg\n",
      "5 ../resized/0005-0006-12013-251-409.jpg\n",
      "6 ../resized/0006-0006-12013-251-409.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0002-11446-49-112.jpg\n",
      "1 ../resized/0001-0002-11446-49-112.jpg\n",
      "../resized/0002-0002-11446-49-112.jpg\n",
      "2 ../resized/0002-0002-11446-49-112.jpg\n",
      "../resized/0003-0002-11446-49-112.jpg\n",
      "3 ../resized/0003-0002-11446-49-112.jpg\n",
      "../resized/0004-0002-11446-49-112.jpg\n",
      "4 ../resized/0004-0002-11446-49-112.jpg\n",
      "../resized/0005-0002-11446-49-112.jpg\n",
      "5 ../resized/0005-0002-11446-49-112.jpg\n",
      "../resized/0006-0002-11446-49-112.jpg\n",
      "6 ../resized/0006-0002-11446-49-112.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11645-126-177.jpg\n",
      "2 ../resized/0002-0006-11645-126-177.jpg\n",
      "3 ../resized/0003-0006-11645-126-177.jpg\n",
      "4 ../resized/0004-0006-11645-126-177.jpg\n",
      "5 ../resized/0005-0006-11645-126-177.jpg\n",
      "6 ../resized/0006-0006-11645-126-177.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0001-11645-134-120.jpg\n",
      "2 ../resized/0002-0001-11645-134-120.jpg\n",
      "3 ../resized/0003-0001-11645-134-120.jpg\n",
      "4 ../resized/0004-0001-11645-134-120.jpg\n",
      "5 ../resized/0005-0001-11645-134-120.jpg\n",
      "6 ../resized/0006-0001-11645-134-120.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0001-2-39-0039.jpg\n",
      "2 ../resized/0002-0001-2-39-0039.jpg\n",
      "3 ../resized/0003-0001-2-39-0039.jpg\n",
      "4 ../resized/0004-0001-2-39-0039.jpg\n",
      "5 ../resized/0005-0001-2-39-0039.jpg\n",
      "6 ../resized/0006-0001-2-39-0039.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-1-187-0187.jpg\n",
      "2 ../resized/0002-0004-1-187-0187.jpg\n",
      "3 ../resized/0003-0004-1-187-0187.jpg\n",
      "4 ../resized/0004-0004-1-187-0187.jpg\n",
      "5 ../resized/0005-0004-1-187-0187.jpg\n",
      "6 ../resized/0006-0004-1-187-0187.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11646-138-34.jpg\n",
      "2 ../resized/0002-0006-11646-138-34.jpg\n",
      "3 ../resized/0003-0006-11646-138-34.jpg\n",
      "4 ../resized/0004-0006-11646-138-34.jpg\n",
      "5 ../resized/0005-0006-11646-138-34.jpg\n",
      "6 ../resized/0006-0006-11646-138-34.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0005-1-119-0119.jpg\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2 ../resized/0002-0005-1-119-0119.jpg\n",
      "3 ../resized/0003-0005-1-119-0119.jpg\n",
      "4 ../resized/0004-0005-1-119-0119.jpg\n",
      "5 ../resized/0005-0005-1-119-0119.jpg\n",
      "6 ../resized/0006-0005-1-119-0119.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0003-11645-134-120.jpg\n",
      "2 ../resized/0002-0003-11645-134-120.jpg\n",
      "3 ../resized/0003-0003-11645-134-120.jpg\n",
      "4 ../resized/0004-0003-11645-134-120.jpg\n",
      "5 ../resized/0005-0003-11645-134-120.jpg\n",
      "6 ../resized/0006-0003-11645-134-120.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0001-12382-467-143.jpg\n",
      "2 ../resized/0002-0001-12382-467-143.jpg\n",
      "3 ../resized/0003-0001-12382-467-143.jpg\n",
      "4 ../resized/0004-0001-12382-467-143.jpg\n",
      "5 ../resized/0005-0001-12382-467-143.jpg\n",
      "6 ../resized/0006-0001-12382-467-143.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0006-11447-82-145.jpg\n",
      "1 ../resized/0001-0006-11447-82-145.jpg\n",
      "../resized/0002-0006-11447-82-145.jpg\n",
      "2 ../resized/0002-0006-11447-82-145.jpg\n",
      "../resized/0003-0006-11447-82-145.jpg\n",
      "3 ../resized/0003-0006-11447-82-145.jpg\n",
      "../resized/0004-0006-11447-82-145.jpg\n",
      "4 ../resized/0004-0006-11447-82-145.jpg\n",
      "../resized/0005-0006-11447-82-145.jpg\n",
      "5 ../resized/0005-0006-11447-82-145.jpg\n",
      "../resized/0006-0006-11447-82-145.jpg\n",
      "6 ../resized/0006-0006-11447-82-145.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0006-1-62-0062.jpg\n",
      "2 ../resized/0002-0006-1-62-0062.jpg\n",
      "3 ../resized/0003-0006-1-62-0062.jpg\n",
      "4 ../resized/0004-0006-1-62-0062.jpg\n",
      "5 ../resized/0005-0006-1-62-0062.jpg\n",
      "6 ../resized/0006-0006-1-62-0062.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0006-1-169-0169.jpg\n",
      "2 ../resized/0002-0006-1-169-0169.jpg\n",
      "3 ../resized/0003-0006-1-169-0169.jpg\n",
      "4 ../resized/0004-0006-1-169-0169.jpg\n",
      "5 ../resized/0005-0006-1-169-0169.jpg\n",
      "6 ../resized/0006-0006-1-169-0169.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0001-11446-46-112.jpg\n",
      "1 ../resized/0001-0001-11446-46-112.jpg\n",
      "../resized/0002-0001-11446-46-112.jpg\n",
      "2 ../resized/0002-0001-11446-46-112.jpg\n",
      "../resized/0003-0001-11446-46-112.jpg\n",
      "3 ../resized/0003-0001-11446-46-112.jpg\n",
      "../resized/0004-0001-11446-46-112.jpg\n",
      "4 ../resized/0004-0001-11446-46-112.jpg\n",
      "../resized/0005-0001-11446-46-112.jpg\n",
      "5 ../resized/0005-0001-11446-46-112.jpg\n",
      "../resized/0006-0001-11446-46-112.jpg\n",
      "6 ../resized/0006-0001-11446-46-112.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0004-11646-138-34.jpg\n",
      "2 ../resized/0002-0004-11646-138-34.jpg\n",
      "3 ../resized/0003-0004-11646-138-34.jpg\n",
      "4 ../resized/0004-0004-11646-138-34.jpg\n",
      "5 ../resized/0005-0004-11646-138-34.jpg\n",
      "6 ../resized/0006-0004-11646-138-34.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0006-12409-544-102.jpg\n",
      "2 ../resized/0002-0006-12409-544-102.jpg\n",
      "3 ../resized/0003-0006-12409-544-102.jpg\n",
      "4 ../resized/0004-0006-12409-544-102.jpg\n",
      "5 ../resized/0005-0006-12409-544-102.jpg\n",
      "6 ../resized/0006-0006-12409-544-102.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0006-12382-467-143.jpg\n",
      "2 ../resized/0002-0006-12382-467-143.jpg\n",
      "3 ../resized/0003-0006-12382-467-143.jpg\n",
      "4 ../resized/0004-0006-12382-467-143.jpg\n",
      "5 ../resized/0005-0006-12382-467-143.jpg\n",
      "6 ../resized/0006-0006-12382-467-143.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0004-11447-75-92.jpg\n",
      "1 ../resized/0001-0004-11447-75-92.jpg\n",
      "../resized/0002-0004-11447-75-92.jpg\n",
      "2 ../resized/0002-0004-11447-75-92.jpg\n",
      "../resized/0003-0004-11447-75-92.jpg\n",
      "3 ../resized/0003-0004-11447-75-92.jpg\n",
      "../resized/0004-0004-11447-75-92.jpg\n",
      "4 ../resized/0004-0004-11447-75-92.jpg\n",
      "../resized/0005-0004-11447-75-92.jpg\n",
      "5 ../resized/0005-0004-11447-75-92.jpg\n",
      "../resized/0006-0004-11447-75-92.jpg\n",
      "6 ../resized/0006-0004-11447-75-92.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0004-12403-536-88.jpg\n",
      "2 ../resized/0002-0004-12403-536-88.jpg\n",
      "3 ../resized/0003-0004-12403-536-88.jpg\n",
      "4 ../resized/0004-0004-12403-536-88.jpg\n",
      "5 ../resized/0005-0004-12403-536-88.jpg\n",
      "6 ../resized/0006-0004-12403-536-88.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11645-124-69.jpg\n",
      "2 ../resized/0002-0006-11645-124-69.jpg\n",
      "3 ../resized/0003-0006-11645-124-69.jpg\n",
      "4 ../resized/0004-0006-11645-124-69.jpg\n",
      "5 ../resized/0005-0006-11645-124-69.jpg\n",
      "6 ../resized/0006-0006-11645-124-69.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0001-11645-126-111.jpg\n",
      "2 ../resized/0002-0001-11645-126-111.jpg\n",
      "3 ../resized/0003-0001-11645-126-111.jpg\n",
      "4 ../resized/0004-0001-11645-126-111.jpg\n",
      "5 ../resized/0005-0001-11645-126-111.jpg\n",
      "6 ../resized/0006-0001-11645-126-111.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0001-1-62-0062.jpg\n",
      "2 ../resized/0002-0001-1-62-0062.jpg\n",
      "3 ../resized/0003-0001-1-62-0062.jpg\n",
      "4 ../resized/0004-0001-1-62-0062.jpg\n",
      "5 ../resized/0005-0001-1-62-0062.jpg\n",
      "6 ../resized/0006-0001-1-62-0062.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0001-11646-140-81.jpg\n",
      "2 ../resized/0002-0001-11646-140-81.jpg\n",
      "3 ../resized/0003-0001-11646-140-81.jpg\n",
      "4 ../resized/0004-0001-11646-140-81.jpg\n",
      "5 ../resized/0005-0001-11646-140-81.jpg\n",
      "6 ../resized/0006-0001-11646-140-81.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0005-1-169-0169.jpg\n",
      "2 ../resized/0002-0005-1-169-0169.jpg\n",
      "3 ../resized/0003-0005-1-169-0169.jpg\n",
      "4 ../resized/0004-0005-1-169-0169.jpg\n",
      "5 ../resized/0005-0005-1-169-0169.jpg\n",
      "6 ../resized/0006-0005-1-169-0169.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0004-11446-46-112.jpg\n",
      "1 ../resized/0001-0004-11446-46-112.jpg\n",
      "../resized/0002-0004-11446-46-112.jpg\n",
      "2 ../resized/0002-0004-11446-46-112.jpg\n",
      "../resized/0003-0004-11446-46-112.jpg\n",
      "3 ../resized/0003-0004-11446-46-112.jpg\n",
      "../resized/0004-0004-11446-46-112.jpg\n",
      "4 ../resized/0004-0004-11446-46-112.jpg\n",
      "../resized/0005-0004-11446-46-112.jpg\n",
      "5 ../resized/0005-0004-11446-46-112.jpg\n",
      "../resized/0006-0004-11446-46-112.jpg\n",
      "6 ../resized/0006-0004-11446-46-112.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11647-156-201.jpg\n",
      "2 ../resized/0002-0006-11647-156-201.jpg\n",
      "3 ../resized/0003-0006-11647-156-201.jpg\n",
      "4 ../resized/0004-0006-11647-156-201.jpg\n",
      "5 ../resized/0005-0006-11647-156-201.jpg\n",
      "6 ../resized/0006-0006-11647-156-201.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0006-1-92-0092.jpg\n",
      "2 ../resized/0002-0006-1-92-0092.jpg\n",
      "3 ../resized/0003-0006-1-92-0092.jpg\n",
      "4 ../resized/0004-0006-1-92-0092.jpg\n",
      "5 ../resized/0005-0006-1-92-0092.jpg\n",
      "6 ../resized/0006-0006-1-92-0092.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0005-11645-117-69.jpg\n",
      "2 ../resized/0002-0005-11645-117-69.jpg\n",
      "3 ../resized/0003-0005-11645-117-69.jpg\n",
      "4 ../resized/0004-0005-11645-117-69.jpg\n",
      "5 ../resized/0005-0005-11645-117-69.jpg\n",
      "6 ../resized/0006-0005-11645-117-69.jpg\n",
      "1824 1539\n",
      "[(0, 608), (608, 1216), (1216, 1824)] [(0, 769), (769, 1539)]\n",
      "../resized/0001-0006-2-95-0095.jpg\n",
      "1 ../resized/0001-0006-2-95-0095.jpg\n",
      "../resized/0002-0006-2-95-0095.jpg\n",
      "2 ../resized/0002-0006-2-95-0095.jpg\n",
      "../resized/0003-0006-2-95-0095.jpg\n",
      "3 ../resized/0003-0006-2-95-0095.jpg\n",
      "../resized/0004-0006-2-95-0095.jpg\n",
      "4 ../resized/0004-0006-2-95-0095.jpg\n",
      "../resized/0005-0006-2-95-0095.jpg\n",
      "5 ../resized/0005-0006-2-95-0095.jpg\n",
      "../resized/0006-0006-2-95-0095.jpg\n",
      "6 ../resized/0006-0006-2-95-0095.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-1-119-0119.jpg\n",
      "2 ../resized/0002-0004-1-119-0119.jpg\n",
      "3 ../resized/0003-0004-1-119-0119.jpg\n",
      "4 ../resized/0004-0004-1-119-0119.jpg\n",
      "5 ../resized/0005-0004-1-119-0119.jpg\n",
      "6 ../resized/0006-0004-1-119-0119.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-1-169-0169.jpg\n",
      "2 ../resized/0002-0002-1-169-0169.jpg\n",
      "3 ../resized/0003-0002-1-169-0169.jpg\n",
      "4 ../resized/0004-0002-1-169-0169.jpg\n",
      "5 ../resized/0005-0002-1-169-0169.jpg\n",
      "6 ../resized/0006-0002-1-169-0169.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0001-11444-28-95.jpg\n",
      "1 ../resized/0001-0001-11444-28-95.jpg\n",
      "../resized/0002-0001-11444-28-95.jpg\n",
      "2 ../resized/0002-0001-11444-28-95.jpg\n",
      "../resized/0003-0001-11444-28-95.jpg\n",
      "3 ../resized/0003-0001-11444-28-95.jpg\n",
      "../resized/0004-0001-11444-28-95.jpg\n",
      "4 ../resized/0004-0001-11444-28-95.jpg\n",
      "../resized/0005-0001-11444-28-95.jpg\n",
      "5 ../resized/0005-0001-11444-28-95.jpg\n",
      "../resized/0006-0001-11444-28-95.jpg\n",
      "6 ../resized/0006-0001-11444-28-95.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0002-12013-252-304.jpg\n",
      "2 ../resized/0002-0002-12013-252-304.jpg\n",
      "3 ../resized/0003-0002-12013-252-304.jpg\n",
      "4 ../resized/0004-0002-12013-252-304.jpg\n",
      "5 ../resized/0005-0002-12013-252-304.jpg\n",
      "6 ../resized/0006-0002-12013-252-304.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0006-11645-133-90.jpg\n",
      "2 ../resized/0002-0006-11645-133-90.jpg\n",
      "3 ../resized/0003-0006-11645-133-90.jpg\n",
      "4 ../resized/0004-0006-11645-133-90.jpg\n",
      "5 ../resized/0005-0006-11645-133-90.jpg\n",
      "6 ../resized/0006-0006-11645-133-90.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0004-11446-49-112.jpg\n",
      "1 ../resized/0001-0004-11446-49-112.jpg\n",
      "../resized/0002-0004-11446-49-112.jpg\n",
      "2 ../resized/0002-0004-11446-49-112.jpg\n",
      "../resized/0003-0004-11446-49-112.jpg\n",
      "3 ../resized/0003-0004-11446-49-112.jpg\n",
      "../resized/0004-0004-11446-49-112.jpg\n",
      "4 ../resized/0004-0004-11446-49-112.jpg\n",
      "../resized/0005-0004-11446-49-112.jpg\n",
      "5 ../resized/0005-0004-11446-49-112.jpg\n",
      "../resized/0006-0004-11446-49-112.jpg\n",
      "6 ../resized/0006-0004-11446-49-112.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11647-166-51.jpg\n",
      "2 ../resized/0002-0002-11647-166-51.jpg\n",
      "3 ../resized/0003-0002-11647-166-51.jpg\n",
      "4 ../resized/0004-0002-11647-166-51.jpg\n",
      "5 ../resized/0005-0002-11647-166-51.jpg\n",
      "6 ../resized/0006-0002-11647-166-51.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0001-12014-272-396.jpg\n",
      "2 ../resized/0002-0001-12014-272-396.jpg\n",
      "3 ../resized/0003-0001-12014-272-396.jpg\n",
      "4 ../resized/0004-0001-12014-272-396.jpg\n",
      "5 ../resized/0005-0001-12014-272-396.jpg\n",
      "6 ../resized/0006-0001-12014-272-396.jpg\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1622 1824\n",
      "1 ../resized/0001-0005-1-25-0025.jpg\n",
      "2 ../resized/0002-0005-1-25-0025.jpg\n",
      "3 ../resized/0003-0005-1-25-0025.jpg\n",
      "4 ../resized/0004-0005-1-25-0025.jpg\n",
      "5 ../resized/0005-0005-1-25-0025.jpg\n",
      "6 ../resized/0006-0005-1-25-0025.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-2-39-0039.jpg\n",
      "2 ../resized/0002-0002-2-39-0039.jpg\n",
      "3 ../resized/0003-0002-2-39-0039.jpg\n",
      "4 ../resized/0004-0002-2-39-0039.jpg\n",
      "5 ../resized/0005-0002-2-39-0039.jpg\n",
      "6 ../resized/0006-0002-2-39-0039.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0003-12014-254-327.jpg\n",
      "2 ../resized/0002-0003-12014-254-327.jpg\n",
      "3 ../resized/0003-0003-12014-254-327.jpg\n",
      "4 ../resized/0004-0003-12014-254-327.jpg\n",
      "5 ../resized/0005-0003-12014-254-327.jpg\n",
      "6 ../resized/0006-0003-12014-254-327.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0003-12384-483-145.jpg\n",
      "2 ../resized/0002-0003-12384-483-145.jpg\n",
      "3 ../resized/0003-0003-12384-483-145.jpg\n",
      "4 ../resized/0004-0003-12384-483-145.jpg\n",
      "5 ../resized/0005-0003-12384-483-145.jpg\n",
      "6 ../resized/0006-0003-12384-483-145.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0001-11647-156-201.jpg\n",
      "2 ../resized/0002-0001-11647-156-201.jpg\n",
      "3 ../resized/0003-0001-11647-156-201.jpg\n",
      "4 ../resized/0004-0001-11647-156-201.jpg\n",
      "5 ../resized/0005-0001-11647-156-201.jpg\n",
      "6 ../resized/0006-0001-11647-156-201.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0004-12011-232-242.jpg\n",
      "2 ../resized/0002-0004-12011-232-242.jpg\n",
      "3 ../resized/0003-0004-12011-232-242.jpg\n",
      "4 ../resized/0004-0004-12011-232-242.jpg\n",
      "5 ../resized/0005-0004-12011-232-242.jpg\n",
      "6 ../resized/0006-0004-12011-232-242.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0003-12014-272-396.jpg\n",
      "2 ../resized/0002-0003-12014-272-396.jpg\n",
      "3 ../resized/0003-0003-12014-272-396.jpg\n",
      "4 ../resized/0004-0003-12014-272-396.jpg\n",
      "5 ../resized/0005-0003-12014-272-396.jpg\n",
      "6 ../resized/0006-0003-12014-272-396.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0003-12403-533-77.jpg\n",
      "2 ../resized/0002-0003-12403-533-77.jpg\n",
      "3 ../resized/0003-0003-12403-533-77.jpg\n",
      "4 ../resized/0004-0003-12403-533-77.jpg\n",
      "5 ../resized/0005-0003-12403-533-77.jpg\n",
      "6 ../resized/0006-0003-12403-533-77.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0001-1-187-0187.jpg\n",
      "2 ../resized/0002-0001-1-187-0187.jpg\n",
      "3 ../resized/0003-0001-1-187-0187.jpg\n",
      "4 ../resized/0004-0001-1-187-0187.jpg\n",
      "5 ../resized/0005-0001-1-187-0187.jpg\n",
      "6 ../resized/0006-0001-1-187-0187.jpg\n",
      "1824 1539\n",
      "[(0, 608), (608, 1216), (1216, 1824)] [(0, 769), (769, 1539)]\n",
      "../resized/0001-0001-2-95-0095.jpg\n",
      "1 ../resized/0001-0001-2-95-0095.jpg\n",
      "../resized/0002-0001-2-95-0095.jpg\n",
      "2 ../resized/0002-0001-2-95-0095.jpg\n",
      "../resized/0003-0001-2-95-0095.jpg\n",
      "3 ../resized/0003-0001-2-95-0095.jpg\n",
      "../resized/0004-0001-2-95-0095.jpg\n",
      "4 ../resized/0004-0001-2-95-0095.jpg\n",
      "../resized/0005-0001-2-95-0095.jpg\n",
      "5 ../resized/0005-0001-2-95-0095.jpg\n",
      "../resized/0006-0001-2-95-0095.jpg\n",
      "6 ../resized/0006-0001-2-95-0095.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0004-12402-531-78.jpg\n",
      "2 ../resized/0002-0004-12402-531-78.jpg\n",
      "3 ../resized/0003-0004-12402-531-78.jpg\n",
      "4 ../resized/0004-0004-12402-531-78.jpg\n",
      "5 ../resized/0005-0004-12402-531-78.jpg\n",
      "6 ../resized/0006-0004-12402-531-78.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0003-12014-253-337.jpg\n",
      "2 ../resized/0002-0003-12014-253-337.jpg\n",
      "3 ../resized/0003-0003-12014-253-337.jpg\n",
      "4 ../resized/0004-0003-12014-253-337.jpg\n",
      "5 ../resized/0005-0003-12014-253-337.jpg\n",
      "6 ../resized/0006-0003-12014-253-337.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-1-131-0131.jpg\n",
      "2 ../resized/0002-0002-1-131-0131.jpg\n",
      "3 ../resized/0003-0002-1-131-0131.jpg\n",
      "4 ../resized/0004-0002-1-131-0131.jpg\n",
      "5 ../resized/0005-0002-1-131-0131.jpg\n",
      "6 ../resized/0006-0002-1-131-0131.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0004-11447-75-147.jpg\n",
      "1 ../resized/0001-0004-11447-75-147.jpg\n",
      "../resized/0002-0004-11447-75-147.jpg\n",
      "2 ../resized/0002-0004-11447-75-147.jpg\n",
      "../resized/0003-0004-11447-75-147.jpg\n",
      "3 ../resized/0003-0004-11447-75-147.jpg\n",
      "../resized/0004-0004-11447-75-147.jpg\n",
      "4 ../resized/0004-0004-11447-75-147.jpg\n",
      "../resized/0005-0004-11447-75-147.jpg\n",
      "5 ../resized/0005-0004-11447-75-147.jpg\n",
      "../resized/0006-0004-11447-75-147.jpg\n",
      "6 ../resized/0006-0004-11447-75-147.jpg\n",
      "1824 1539\n",
      "[(0, 608), (608, 1216), (1216, 1824)] [(0, 769), (769, 1539)]\n",
      "../resized/0001-0004-2-95-0095.jpg\n",
      "1 ../resized/0001-0004-2-95-0095.jpg\n",
      "../resized/0002-0004-2-95-0095.jpg\n",
      "2 ../resized/0002-0004-2-95-0095.jpg\n",
      "../resized/0003-0004-2-95-0095.jpg\n",
      "3 ../resized/0003-0004-2-95-0095.jpg\n",
      "../resized/0004-0004-2-95-0095.jpg\n",
      "4 ../resized/0004-0004-2-95-0095.jpg\n",
      "../resized/0005-0004-2-95-0095.jpg\n",
      "5 ../resized/0005-0004-2-95-0095.jpg\n",
      "../resized/0006-0004-2-95-0095.jpg\n",
      "6 ../resized/0006-0004-2-95-0095.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-1-62-0062.jpg\n",
      "2 ../resized/0002-0002-1-62-0062.jpg\n",
      "3 ../resized/0003-0002-1-62-0062.jpg\n",
      "4 ../resized/0004-0002-1-62-0062.jpg\n",
      "5 ../resized/0005-0002-1-62-0062.jpg\n",
      "6 ../resized/0006-0002-1-62-0062.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0001-12402-531-78.jpg\n",
      "2 ../resized/0002-0001-12402-531-78.jpg\n",
      "3 ../resized/0003-0001-12402-531-78.jpg\n",
      "4 ../resized/0004-0001-12402-531-78.jpg\n",
      "5 ../resized/0005-0001-12402-531-78.jpg\n",
      "6 ../resized/0006-0001-12402-531-78.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0001-1-118-0118.jpg\n",
      "2 ../resized/0002-0001-1-118-0118.jpg\n",
      "3 ../resized/0003-0001-1-118-0118.jpg\n",
      "4 ../resized/0004-0001-1-118-0118.jpg\n",
      "5 ../resized/0005-0001-1-118-0118.jpg\n",
      "6 ../resized/0006-0001-1-118-0118.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-1-62-0062.jpg\n",
      "2 ../resized/0002-0004-1-62-0062.jpg\n",
      "3 ../resized/0003-0004-1-62-0062.jpg\n",
      "4 ../resized/0004-0004-1-62-0062.jpg\n",
      "5 ../resized/0005-0004-1-62-0062.jpg\n",
      "6 ../resized/0006-0004-1-62-0062.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0003-1-169-0169.jpg\n",
      "2 ../resized/0002-0003-1-169-0169.jpg\n",
      "3 ../resized/0003-0003-1-169-0169.jpg\n",
      "4 ../resized/0004-0003-1-169-0169.jpg\n",
      "5 ../resized/0005-0003-1-169-0169.jpg\n",
      "6 ../resized/0006-0003-1-169-0169.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0003-1-131-0131.jpg\n",
      "2 ../resized/0002-0003-1-131-0131.jpg\n",
      "3 ../resized/0003-0003-1-131-0131.jpg\n",
      "4 ../resized/0004-0003-1-131-0131.jpg\n",
      "5 ../resized/0005-0003-1-131-0131.jpg\n",
      "6 ../resized/0006-0003-1-131-0131.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0005-12409-544-102.jpg\n",
      "2 ../resized/0002-0005-12409-544-102.jpg\n",
      "3 ../resized/0003-0005-12409-544-102.jpg\n",
      "4 ../resized/0004-0005-12409-544-102.jpg\n",
      "5 ../resized/0005-0005-12409-544-102.jpg\n",
      "6 ../resized/0006-0005-12409-544-102.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0001-12403-536-88.jpg\n",
      "2 ../resized/0002-0001-12403-536-88.jpg\n",
      "3 ../resized/0003-0001-12403-536-88.jpg\n",
      "4 ../resized/0004-0001-12403-536-88.jpg\n",
      "5 ../resized/0005-0001-12403-536-88.jpg\n",
      "6 ../resized/0006-0001-12403-536-88.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11645-117-69.jpg\n",
      "2 ../resized/0002-0002-11645-117-69.jpg\n",
      "3 ../resized/0003-0002-11645-117-69.jpg\n",
      "4 ../resized/0004-0002-11645-117-69.jpg\n",
      "5 ../resized/0005-0002-11645-117-69.jpg\n",
      "6 ../resized/0006-0002-11645-117-69.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0005-12403-536-88.jpg\n",
      "2 ../resized/0002-0005-12403-536-88.jpg\n",
      "3 ../resized/0003-0005-12403-536-88.jpg\n",
      "4 ../resized/0004-0005-12403-536-88.jpg\n",
      "5 ../resized/0005-0005-12403-536-88.jpg\n",
      "6 ../resized/0006-0005-12403-536-88.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0005-11645-124-69.jpg\n",
      "2 ../resized/0002-0005-11645-124-69.jpg\n",
      "3 ../resized/0003-0005-11645-124-69.jpg\n",
      "4 ../resized/0004-0005-11645-124-69.jpg\n",
      "5 ../resized/0005-0005-11645-124-69.jpg\n",
      "6 ../resized/0006-0005-11645-124-69.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0006-12402-532-81.jpg\n",
      "2 ../resized/0002-0006-12402-532-81.jpg\n",
      "3 ../resized/0003-0006-12402-532-81.jpg\n",
      "4 ../resized/0004-0006-12402-532-81.jpg\n",
      "5 ../resized/0005-0006-12402-532-81.jpg\n",
      "6 ../resized/0006-0006-12402-532-81.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0004-12013-252-304.jpg\n",
      "2 ../resized/0002-0004-12013-252-304.jpg\n",
      "3 ../resized/0003-0004-12013-252-304.jpg\n",
      "4 ../resized/0004-0004-12013-252-304.jpg\n",
      "5 ../resized/0005-0004-12013-252-304.jpg\n",
      "6 ../resized/0006-0004-12013-252-304.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0006-12384-483-145.jpg\n",
      "2 ../resized/0002-0006-12384-483-145.jpg\n",
      "3 ../resized/0003-0006-12384-483-145.jpg\n",
      "4 ../resized/0004-0006-12384-483-145.jpg\n",
      "5 ../resized/0005-0006-12384-483-145.jpg\n",
      "6 ../resized/0006-0006-12384-483-145.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0001-12014-253-337.jpg\n",
      "2 ../resized/0002-0001-12014-253-337.jpg\n",
      "3 ../resized/0003-0001-12014-253-337.jpg\n",
      "4 ../resized/0004-0001-12014-253-337.jpg\n",
      "5 ../resized/0005-0001-12014-253-337.jpg\n",
      "6 ../resized/0006-0001-12014-253-337.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0003-11645-124-69.jpg\n",
      "2 ../resized/0002-0003-11645-124-69.jpg\n",
      "3 ../resized/0003-0003-11645-124-69.jpg\n",
      "4 ../resized/0004-0003-11645-124-69.jpg\n",
      "5 ../resized/0005-0003-11645-124-69.jpg\n",
      "6 ../resized/0006-0003-11645-124-69.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0001-12013-252-304.jpg\n",
      "2 ../resized/0002-0001-12013-252-304.jpg\n",
      "3 ../resized/0003-0001-12013-252-304.jpg\n",
      "4 ../resized/0004-0001-12013-252-304.jpg\n",
      "5 ../resized/0005-0001-12013-252-304.jpg\n",
      "6 ../resized/0006-0001-12013-252-304.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0001-12014-254-327.jpg\n",
      "2 ../resized/0002-0001-12014-254-327.jpg\n",
      "3 ../resized/0003-0001-12014-254-327.jpg\n",
      "4 ../resized/0004-0001-12014-254-327.jpg\n",
      "5 ../resized/0005-0001-12014-254-327.jpg\n",
      "6 ../resized/0006-0001-12014-254-327.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-2-39-0039.jpg\n",
      "2 ../resized/0002-0004-2-39-0039.jpg\n",
      "3 ../resized/0003-0004-2-39-0039.jpg\n",
      "4 ../resized/0004-0004-2-39-0039.jpg\n",
      "5 ../resized/0005-0004-2-39-0039.jpg\n",
      "6 ../resized/0006-0004-2-39-0039.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0004-11645-126-133.jpg\n",
      "2 ../resized/0002-0004-11645-126-133.jpg\n",
      "3 ../resized/0003-0004-11645-126-133.jpg\n",
      "4 ../resized/0004-0004-11645-126-133.jpg\n",
      "5 ../resized/0005-0004-11645-126-133.jpg\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "6 ../resized/0006-0004-11645-126-133.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0002-12011-232-242.jpg\n",
      "2 ../resized/0002-0002-12011-232-242.jpg\n",
      "3 ../resized/0003-0002-12011-232-242.jpg\n",
      "4 ../resized/0004-0002-12011-232-242.jpg\n",
      "5 ../resized/0005-0002-12011-232-242.jpg\n",
      "6 ../resized/0006-0002-12011-232-242.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0002-11444-28-95.jpg\n",
      "1 ../resized/0001-0002-11444-28-95.jpg\n",
      "../resized/0002-0002-11444-28-95.jpg\n",
      "2 ../resized/0002-0002-11444-28-95.jpg\n",
      "../resized/0003-0002-11444-28-95.jpg\n",
      "3 ../resized/0003-0002-11444-28-95.jpg\n",
      "../resized/0004-0002-11444-28-95.jpg\n",
      "4 ../resized/0004-0002-11444-28-95.jpg\n",
      "../resized/0005-0002-11444-28-95.jpg\n",
      "5 ../resized/0005-0002-11444-28-95.jpg\n",
      "../resized/0006-0002-11444-28-95.jpg\n",
      "6 ../resized/0006-0002-11444-28-95.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0006-1-131-0131.jpg\n",
      "2 ../resized/0002-0006-1-131-0131.jpg\n",
      "3 ../resized/0003-0006-1-131-0131.jpg\n",
      "4 ../resized/0004-0006-1-131-0131.jpg\n",
      "5 ../resized/0005-0006-1-131-0131.jpg\n",
      "6 ../resized/0006-0006-1-131-0131.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0004-11446-44-84.jpg\n",
      "1 ../resized/0001-0004-11446-44-84.jpg\n",
      "../resized/0002-0004-11446-44-84.jpg\n",
      "2 ../resized/0002-0004-11446-44-84.jpg\n",
      "../resized/0003-0004-11446-44-84.jpg\n",
      "3 ../resized/0003-0004-11446-44-84.jpg\n",
      "../resized/0004-0004-11446-44-84.jpg\n",
      "4 ../resized/0004-0004-11446-44-84.jpg\n",
      "../resized/0005-0004-11446-44-84.jpg\n",
      "5 ../resized/0005-0004-11446-44-84.jpg\n",
      "../resized/0006-0004-11446-44-84.jpg\n",
      "6 ../resized/0006-0004-11446-44-84.jpg\n",
      "906 765\n",
      "[(0, 302), (302, 604), (604, 906)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0002-11447-81-188.jpg\n",
      "1 ../resized/0001-0002-11447-81-188.jpg\n",
      "../resized/0002-0002-11447-81-188.jpg\n",
      "2 ../resized/0002-0002-11447-81-188.jpg\n",
      "../resized/0003-0002-11447-81-188.jpg\n",
      "3 ../resized/0003-0002-11447-81-188.jpg\n",
      "../resized/0004-0002-11447-81-188.jpg\n",
      "4 ../resized/0004-0002-11447-81-188.jpg\n",
      "../resized/0005-0002-11447-81-188.jpg\n",
      "5 ../resized/0005-0002-11447-81-188.jpg\n",
      "../resized/0006-0002-11447-81-188.jpg\n",
      "6 ../resized/0006-0002-11447-81-188.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0001-12409-544-102.jpg\n",
      "2 ../resized/0002-0001-12409-544-102.jpg\n",
      "3 ../resized/0003-0001-12409-544-102.jpg\n",
      "4 ../resized/0004-0001-12409-544-102.jpg\n",
      "5 ../resized/0005-0001-12409-544-102.jpg\n",
      "6 ../resized/0006-0001-12409-544-102.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0003-11444-28-95.jpg\n",
      "1 ../resized/0001-0003-11444-28-95.jpg\n",
      "../resized/0002-0003-11444-28-95.jpg\n",
      "2 ../resized/0002-0003-11444-28-95.jpg\n",
      "../resized/0003-0003-11444-28-95.jpg\n",
      "3 ../resized/0003-0003-11444-28-95.jpg\n",
      "../resized/0004-0003-11444-28-95.jpg\n",
      "4 ../resized/0004-0003-11444-28-95.jpg\n",
      "../resized/0005-0003-11444-28-95.jpg\n",
      "5 ../resized/0005-0003-11444-28-95.jpg\n",
      "../resized/0006-0003-11444-28-95.jpg\n",
      "6 ../resized/0006-0003-11444-28-95.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0006-12403-536-88.jpg\n",
      "2 ../resized/0002-0006-12403-536-88.jpg\n",
      "3 ../resized/0003-0006-12403-536-88.jpg\n",
      "4 ../resized/0004-0006-12403-536-88.jpg\n",
      "5 ../resized/0005-0006-12403-536-88.jpg\n",
      "6 ../resized/0006-0006-12403-536-88.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0001-12402-532-81.jpg\n",
      "2 ../resized/0002-0001-12402-532-81.jpg\n",
      "3 ../resized/0003-0001-12402-532-81.jpg\n",
      "4 ../resized/0004-0001-12402-532-81.jpg\n",
      "5 ../resized/0005-0001-12402-532-81.jpg\n",
      "6 ../resized/0006-0001-12402-532-81.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0003-2-82-0082.jpg\n",
      "2 ../resized/0002-0003-2-82-0082.jpg\n",
      "3 ../resized/0003-0003-2-82-0082.jpg\n",
      "4 ../resized/0004-0003-2-82-0082.jpg\n",
      "5 ../resized/0005-0003-2-82-0082.jpg\n",
      "6 ../resized/0006-0003-2-82-0082.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0002-12409-544-102.jpg\n",
      "2 ../resized/0002-0002-12409-544-102.jpg\n",
      "3 ../resized/0003-0002-12409-544-102.jpg\n",
      "4 ../resized/0004-0002-12409-544-102.jpg\n",
      "5 ../resized/0005-0002-12409-544-102.jpg\n",
      "6 ../resized/0006-0002-12409-544-102.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0004-12402-532-81.jpg\n",
      "2 ../resized/0002-0004-12402-532-81.jpg\n",
      "3 ../resized/0003-0004-12402-532-81.jpg\n",
      "4 ../resized/0004-0004-12402-532-81.jpg\n",
      "5 ../resized/0005-0004-12402-532-81.jpg\n",
      "6 ../resized/0006-0004-12402-532-81.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0004-1-118-0118.jpg\n",
      "2 ../resized/0002-0004-1-118-0118.jpg\n",
      "3 ../resized/0003-0004-1-118-0118.jpg\n",
      "4 ../resized/0004-0004-1-118-0118.jpg\n",
      "5 ../resized/0005-0004-1-118-0118.jpg\n",
      "6 ../resized/0006-0004-1-118-0118.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0003-12403-536-88.jpg\n",
      "2 ../resized/0002-0003-12403-536-88.jpg\n",
      "3 ../resized/0003-0003-12403-536-88.jpg\n",
      "4 ../resized/0004-0003-12403-536-88.jpg\n",
      "5 ../resized/0005-0003-12403-536-88.jpg\n",
      "6 ../resized/0006-0003-12403-536-88.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0005-11447-75-92.jpg\n",
      "1 ../resized/0001-0005-11447-75-92.jpg\n",
      "../resized/0002-0005-11447-75-92.jpg\n",
      "2 ../resized/0002-0005-11447-75-92.jpg\n",
      "../resized/0003-0005-11447-75-92.jpg\n",
      "3 ../resized/0003-0005-11447-75-92.jpg\n",
      "../resized/0004-0005-11447-75-92.jpg\n",
      "4 ../resized/0004-0005-11447-75-92.jpg\n",
      "../resized/0005-0005-11447-75-92.jpg\n",
      "5 ../resized/0005-0005-11447-75-92.jpg\n",
      "../resized/0006-0005-11447-75-92.jpg\n",
      "6 ../resized/0006-0005-11447-75-92.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0003-11646-138-34.jpg\n",
      "2 ../resized/0002-0003-11646-138-34.jpg\n",
      "3 ../resized/0003-0003-11646-138-34.jpg\n",
      "4 ../resized/0004-0003-11646-138-34.jpg\n",
      "5 ../resized/0005-0003-11646-138-34.jpg\n",
      "6 ../resized/0006-0003-11646-138-34.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0004-11447-82-145.jpg\n",
      "1 ../resized/0001-0004-11447-82-145.jpg\n",
      "../resized/0002-0004-11447-82-145.jpg\n",
      "2 ../resized/0002-0004-11447-82-145.jpg\n",
      "../resized/0003-0004-11447-82-145.jpg\n",
      "3 ../resized/0003-0004-11447-82-145.jpg\n",
      "../resized/0004-0004-11447-82-145.jpg\n",
      "4 ../resized/0004-0004-11447-82-145.jpg\n",
      "../resized/0005-0004-11447-82-145.jpg\n",
      "5 ../resized/0005-0004-11447-82-145.jpg\n",
      "../resized/0006-0004-11447-82-145.jpg\n",
      "6 ../resized/0006-0004-11447-82-145.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11645-124-69.jpg\n",
      "2 ../resized/0002-0002-11645-124-69.jpg\n",
      "3 ../resized/0003-0002-11645-124-69.jpg\n",
      "4 ../resized/0004-0002-11645-124-69.jpg\n",
      "5 ../resized/0005-0002-11645-124-69.jpg\n",
      "6 ../resized/0006-0002-11645-124-69.jpg\n",
      "765 906\n",
      "1 ../resized/0001-0001-12013-251-409.jpg\n",
      "2 ../resized/0002-0001-12013-251-409.jpg\n",
      "3 ../resized/0003-0001-12013-251-409.jpg\n",
      "4 ../resized/0004-0001-12013-251-409.jpg\n",
      "5 ../resized/0005-0001-12013-251-409.jpg\n",
      "6 ../resized/0006-0001-12013-251-409.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0004-11647-156-201.jpg\n",
      "2 ../resized/0002-0004-11647-156-201.jpg\n",
      "3 ../resized/0003-0004-11647-156-201.jpg\n",
      "4 ../resized/0004-0004-11647-156-201.jpg\n",
      "5 ../resized/0005-0004-11647-156-201.jpg\n",
      "6 ../resized/0006-0004-11647-156-201.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0005-12014-272-396.jpg\n",
      "2 ../resized/0002-0005-12014-272-396.jpg\n",
      "3 ../resized/0003-0005-12014-272-396.jpg\n",
      "4 ../resized/0004-0005-12014-272-396.jpg\n",
      "5 ../resized/0005-0005-12014-272-396.jpg\n",
      "6 ../resized/0006-0005-12014-272-396.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0002-12402-532-81.jpg\n",
      "2 ../resized/0002-0002-12402-532-81.jpg\n",
      "3 ../resized/0003-0002-12402-532-81.jpg\n",
      "4 ../resized/0004-0002-12402-532-81.jpg\n",
      "5 ../resized/0005-0002-12402-532-81.jpg\n",
      "6 ../resized/0006-0002-12402-532-81.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0004-11646-140-81.jpg\n",
      "2 ../resized/0002-0004-11646-140-81.jpg\n",
      "3 ../resized/0003-0004-11646-140-81.jpg\n",
      "4 ../resized/0004-0004-11646-140-81.jpg\n",
      "5 ../resized/0005-0004-11646-140-81.jpg\n",
      "6 ../resized/0006-0004-11646-140-81.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0005-12402-531-78.jpg\n",
      "2 ../resized/0002-0005-12402-531-78.jpg\n",
      "3 ../resized/0003-0005-12402-531-78.jpg\n",
      "4 ../resized/0004-0005-12402-531-78.jpg\n",
      "5 ../resized/0005-0005-12402-531-78.jpg\n",
      "6 ../resized/0006-0005-12402-531-78.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0005-11447-81-188.jpg\n",
      "1 ../resized/0001-0005-11447-81-188.jpg\n",
      "../resized/0002-0005-11447-81-188.jpg\n",
      "2 ../resized/0002-0005-11447-81-188.jpg\n",
      "../resized/0003-0005-11447-81-188.jpg\n",
      "3 ../resized/0003-0005-11447-81-188.jpg\n",
      "../resized/0004-0005-11447-81-188.jpg\n",
      "4 ../resized/0004-0005-11447-81-188.jpg\n",
      "../resized/0005-0005-11447-81-188.jpg\n",
      "5 ../resized/0005-0005-11447-81-188.jpg\n",
      "../resized/0006-0005-11447-81-188.jpg\n",
      "6 ../resized/0006-0005-11447-81-188.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0004-11447-81-188.jpg\n",
      "1 ../resized/0001-0004-11447-81-188.jpg\n",
      "../resized/0002-0004-11447-81-188.jpg\n",
      "2 ../resized/0002-0004-11447-81-188.jpg\n",
      "../resized/0003-0004-11447-81-188.jpg\n",
      "3 ../resized/0003-0004-11447-81-188.jpg\n",
      "../resized/0004-0004-11447-81-188.jpg\n",
      "4 ../resized/0004-0004-11447-81-188.jpg\n",
      "../resized/0005-0004-11447-81-188.jpg\n",
      "5 ../resized/0005-0004-11447-81-188.jpg\n",
      "../resized/0006-0004-11447-81-188.jpg\n",
      "6 ../resized/0006-0004-11447-81-188.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0001-1-128-0128.jpg\n",
      "2 ../resized/0002-0001-1-128-0128.jpg\n",
      "3 ../resized/0003-0001-1-128-0128.jpg\n",
      "4 ../resized/0004-0001-1-128-0128.jpg\n",
      "5 ../resized/0005-0001-1-128-0128.jpg\n",
      "6 ../resized/0006-0001-1-128-0128.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0003-12409-544-102.jpg\n",
      "2 ../resized/0002-0003-12409-544-102.jpg\n",
      "3 ../resized/0003-0003-12409-544-102.jpg\n",
      "4 ../resized/0004-0003-12409-544-102.jpg\n",
      "5 ../resized/0005-0003-12409-544-102.jpg\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "6 ../resized/0006-0003-12409-544-102.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0004-11645-130-56.jpg\n",
      "2 ../resized/0002-0004-11645-130-56.jpg\n",
      "3 ../resized/0003-0004-11645-130-56.jpg\n",
      "4 ../resized/0004-0004-11645-130-56.jpg\n",
      "5 ../resized/0005-0004-11645-130-56.jpg\n",
      "6 ../resized/0006-0004-11645-130-56.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-2-69-0069.jpg\n",
      "2 ../resized/0002-0002-2-69-0069.jpg\n",
      "3 ../resized/0003-0002-2-69-0069.jpg\n",
      "4 ../resized/0004-0002-2-69-0069.jpg\n",
      "5 ../resized/0005-0002-2-69-0069.jpg\n",
      "6 ../resized/0006-0002-2-69-0069.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0004-11645-124-69.jpg\n",
      "2 ../resized/0002-0004-11645-124-69.jpg\n",
      "3 ../resized/0003-0004-11645-124-69.jpg\n",
      "4 ../resized/0004-0004-11645-124-69.jpg\n",
      "5 ../resized/0005-0004-11645-124-69.jpg\n",
      "6 ../resized/0006-0004-11645-124-69.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0006-12403-533-77.jpg\n",
      "2 ../resized/0002-0006-12403-533-77.jpg\n",
      "3 ../resized/0003-0006-12403-533-77.jpg\n",
      "4 ../resized/0004-0006-12403-533-77.jpg\n",
      "5 ../resized/0005-0006-12403-533-77.jpg\n",
      "6 ../resized/0006-0006-12403-533-77.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-1-92-0092.jpg\n",
      "2 ../resized/0002-0002-1-92-0092.jpg\n",
      "3 ../resized/0003-0002-1-92-0092.jpg\n",
      "4 ../resized/0004-0002-1-92-0092.jpg\n",
      "5 ../resized/0005-0002-1-92-0092.jpg\n",
      "6 ../resized/0006-0002-1-92-0092.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-1-119-0119.jpg\n",
      "2 ../resized/0002-0002-1-119-0119.jpg\n",
      "3 ../resized/0003-0002-1-119-0119.jpg\n",
      "4 ../resized/0004-0002-1-119-0119.jpg\n",
      "5 ../resized/0005-0002-1-119-0119.jpg\n",
      "6 ../resized/0006-0002-1-119-0119.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-1-118-0118.jpg\n",
      "2 ../resized/0002-0002-1-118-0118.jpg\n",
      "3 ../resized/0003-0002-1-118-0118.jpg\n",
      "4 ../resized/0004-0002-1-118-0118.jpg\n",
      "5 ../resized/0005-0002-1-118-0118.jpg\n",
      "6 ../resized/0006-0002-1-118-0118.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0005-1-128-0128.jpg\n",
      "2 ../resized/0002-0005-1-128-0128.jpg\n",
      "3 ../resized/0003-0005-1-128-0128.jpg\n",
      "4 ../resized/0004-0005-1-128-0128.jpg\n",
      "5 ../resized/0005-0005-1-128-0128.jpg\n",
      "6 ../resized/0006-0005-1-128-0128.jpg\n",
      "1080 1365\n",
      "1 ../resized/0001-0002-11647-156-201.jpg\n",
      "2 ../resized/0002-0002-11647-156-201.jpg\n",
      "3 ../resized/0003-0002-11647-156-201.jpg\n",
      "4 ../resized/0004-0002-11647-156-201.jpg\n",
      "5 ../resized/0005-0002-11647-156-201.jpg\n",
      "6 ../resized/0006-0002-11647-156-201.jpg\n",
      "765 907\n",
      "1 ../resized/0001-0002-12014-272-396.jpg\n",
      "2 ../resized/0002-0002-12014-272-396.jpg\n",
      "3 ../resized/0003-0002-12014-272-396.jpg\n",
      "4 ../resized/0004-0002-12014-272-396.jpg\n",
      "5 ../resized/0005-0002-12014-272-396.jpg\n",
      "6 ../resized/0006-0002-12014-272-396.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0003-2-39-0039.jpg\n",
      "2 ../resized/0002-0003-2-39-0039.jpg\n",
      "3 ../resized/0003-0003-2-39-0039.jpg\n",
      "4 ../resized/0004-0003-2-39-0039.jpg\n",
      "5 ../resized/0005-0003-2-39-0039.jpg\n",
      "6 ../resized/0006-0003-2-39-0039.jpg\n",
      "1080 1366\n",
      "1 ../resized/0001-0003-11645-117-69.jpg\n",
      "2 ../resized/0002-0003-11645-117-69.jpg\n",
      "3 ../resized/0003-0003-11645-117-69.jpg\n",
      "4 ../resized/0004-0003-11645-117-69.jpg\n",
      "5 ../resized/0005-0003-11645-117-69.jpg\n",
      "6 ../resized/0006-0003-11645-117-69.jpg\n",
      "907 765\n",
      "[(0, 302), (302, 604), (604, 907)] [(0, 382), (382, 765)]\n",
      "../resized/0001-0005-11447-82-145.jpg\n",
      "1 ../resized/0001-0005-11447-82-145.jpg\n",
      "../resized/0002-0005-11447-82-145.jpg\n",
      "2 ../resized/0002-0005-11447-82-145.jpg\n",
      "../resized/0003-0005-11447-82-145.jpg\n",
      "3 ../resized/0003-0005-11447-82-145.jpg\n",
      "../resized/0004-0005-11447-82-145.jpg\n",
      "4 ../resized/0004-0005-11447-82-145.jpg\n",
      "../resized/0005-0005-11447-82-145.jpg\n",
      "5 ../resized/0005-0005-11447-82-145.jpg\n",
      "../resized/0006-0005-11447-82-145.jpg\n",
      "6 ../resized/0006-0005-11447-82-145.jpg\n",
      "1080 1280\n",
      "1 ../resized/0001-0005-12382-467-143.jpg\n",
      "2 ../resized/0002-0005-12382-467-143.jpg\n",
      "3 ../resized/0003-0005-12382-467-143.jpg\n",
      "4 ../resized/0004-0005-12382-467-143.jpg\n",
      "5 ../resized/0005-0005-12382-467-143.jpg\n",
      "6 ../resized/0006-0005-12382-467-143.jpg\n",
      "1621 1824\n",
      "1 ../resized/0001-0002-1-10-0010.jpg\n",
      "2 ../resized/0002-0002-1-10-0010.jpg\n",
      "3 ../resized/0003-0002-1-10-0010.jpg\n",
      "4 ../resized/0004-0002-1-10-0010.jpg\n",
      "5 ../resized/0005-0002-1-10-0010.jpg\n",
      "6 ../resized/0006-0002-1-10-0010.jpg\n",
      "1622 1824\n",
      "1 ../resized/0001-0006-2-39-0039.jpg\n",
      "2 ../resized/0002-0006-2-39-0039.jpg\n",
      "3 ../resized/0003-0006-2-39-0039.jpg\n",
      "4 ../resized/0004-0006-2-39-0039.jpg\n",
      "5 ../resized/0005-0006-2-39-0039.jpg\n",
      "6 ../resized/0006-0006-2-39-0039.jpg\n"
     ]
    },
    {
     "ename": "AttributeError",
     "evalue": "'NoneType' object has no attribute 'shape'",
     "output_type": "error",
     "traceback": [
      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[0;31mAttributeError\u001b[0m                            Traceback (most recent call last)",
      "\u001b[0;32m<ipython-input-10-a0608080cd45>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m      1\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mimages\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mimages_list\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m      2\u001b[0m     \u001b[0mimage\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mcv\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mimread\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mimages\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 3\u001b[0;31m     \u001b[0mheight\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mimage\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshape\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m      4\u001b[0m     \u001b[0mwidth\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mimage\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshape\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m      5\u001b[0m     \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mheight\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0mwidth\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;31mAttributeError\u001b[0m: 'NoneType' object has no attribute 'shape'"
     ]
    }
   ],
   "source": [
    "for images in images_list:\n",
    "    image = cv.imread(images)\n",
    "    height = image.shape[0]\n",
    "    width = image.shape[1]\n",
    "    print(height,width)\n",
    "    if height > width:\n",
    "        h_list = list(np.linspace(0, image.shape[0], 4, dtype=\"int32\"))\n",
    "        w_list = list(np.linspace(0,image.shape[1], 3, dtype=\"int32\"))\n",
    "        pairs_h = [(h_list[0], h_list[1]), (h_list[1], h_list[2]), (h_list[2],h_list[3])]\n",
    "        pairs_w = [(w_list[0], w_list[1]), (w_list[1], w_list[2])]\n",
    "        print(pairs_h,pairs_w)\n",
    "\n",
    "        index = 0\n",
    "        for h in pairs_h:\n",
    "            for w in pairs_w:\n",
    "                cropped_image = image[h[0]:h[1],w[0]:w[1]]\n",
    "                index=index+1\n",
    "                #filename=os.path.join(Dir,str(index).zfill(4)+\"-\"+files)\n",
    "                filename = os.path.join(\"../resized\",str(index).zfill(4)+\"-\"+images)\n",
    "                print(filename)\n",
    "#                 font = cv.FONT_HERSHEY_SIMPLEX\n",
    "#                 bottomLeftCornerOfText = (20, 50)\n",
    "#                 fontScale = 1\n",
    "#                 fontColor = (255, 255, 255)\n",
    "#                 lineType = 2\n",
    "#                 a=[h[0],h[1],w[0],w[1]]\n",
    "#                 cv.putText(cropped_image, f\"{a}\",\n",
    "#                             bottomLeftCornerOfText,\n",
    "#                             font,\n",
    "#                             fontScale,\n",
    "#                             fontColor,\n",
    "#                             lineType)\n",
    "#                 #print(cropped_image.shape)\n",
    "                cv.imwrite(filename,cropped_image)\n",
    "                #print(os.path.abspath(filename))\n",
    "                print(index,filename)\n",
    "    elif height < width:\n",
    "        h_list = list(np.linspace(0, image.shape[0], 3, dtype=\"int32\"))\n",
    "        w_list = list(np.linspace(0,image.shape[1],4,dtype=\"int32\"))\n",
    "        pairs_h = [(h_list[0], h_list[1]), (h_list[1],h_list[2])]\n",
    "        pairs_w = [(w_list[0], w_list[1]), (w_list[1],w_list[2]), (w_list[2], w_list[3])]\n",
    "\n",
    "        index = 0\n",
    "        for h in pairs_h:\n",
    "            for w in pairs_w:\n",
    "                cropped_image = image[h[0]:h[1],w[0]:w[1]]\n",
    "                index = index+1\n",
    "                filename = os.path.join(\"../resized\",str(index).zfill(4)+\"-\"+images)\n",
    "                cv.imwrite(filename, cropped_image)\n",
    "                print(index, filename)\n",
    "#     elif height == width:\n",
    "#         h_list = list(np.linspace(0, image.shape[0], 5, dtype=\"int32\"))\n",
    "#         w_list = list(np.linspace(0,image.shape[1],5,dtype=\"int32\"))\n",
    "#         pairs_h = [(h_list[0], h_list[1]), (h_list[1],h_list[2]), (h_list[2], h_list[3]), (h_list[3], h_list[4])]\n",
    "#         pairs_w = [(w_list[0], w_list[1]), (w_list[1],w_list[2]), (w_list[2], w_list[3]), (w_list[3], w_list[4])]\n",
    "\n",
    "#         index = 0\n",
    "#         for h in pairs_h:\n",
    "#             for w in pairs_w:\n",
    "#                 cropped_image = image[h[0]:h[1],w[0]:w[1]]\n",
    "#                 index = index+1\n",
    "#                 filename = os.path.join(Dir, str(index).zfill(4) + \"-\" + files)\n",
    "#                 cv.imwrite(filename, cropped_image)\n",
    "#                 print(index, filename)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "4.606299212598425"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## ROUGH SPACE"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [],
   "source": [
    "os.chdir(\"/home/kiprono/Documents/STELLENBOSCH UNIVERISTY/Masters by Research\\\n",
    "/Mask RCNN/Annotation projects/train\")\n",
    "lst = os.listdir(os.getcwd())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [],
   "source": [
    "im = random.sample(lst,40)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [],
   "source": [
    "for item in im:\n",
    "    shutil.move(item,\"../val/\"+item)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "# os.chdir(\"/home/kiprono/Documents/STELLENBOSCH UNIVERISTY/Masters by Research\\\n",
    "# /Mask RCNN/Annotation projects/ROBOTICS/dataset 6 Final\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "# for Dir, subDir, filesList in os.walk(os.getcwd()):\n",
    "#     for files in filesList:\n",
    "#         if files.endswith((\".npy\",\"_predictions.jpg\",\"_truth.jpg\")):\n",
    "#             pass\n",
    "#         else:\n",
    "#             dirr = os.path.join(Dir,files)\n",
    "#             shutil.copy(dirr,\"../dataset/\"+files)\n",
    "#             #print(files)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
